 import { createApp } from 'vue'
//import './style.css'
//import "./style/scssConfig.scss"
import App from './App.vue'
//引入ElementPlus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
//引入路由
import router from './router/index.js'
//引入api
import api from './lindk/myApi/index'
import locale from 'element-plus/lib/locale/lang/zh-cn'

const app=createApp(App)
//app.mount('#app')
app.use(ElementPlus,{locale}).use(router).mount('#app')
//放到全局
app.config.globalProperties.API = api
app.config.globalProperties.router =router
